//
//  WD_MyPlayer.h
//  BUDING
//
//  Created by HanWoonYong on 16/4/5.
//  Copyright © 2016年 HanWoonYong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import <AVKit/AVKit.h>
#import "WD_MyPlayerMaskView.h"
#import "WD_MyAVPlayer.h"

@interface WD_MyPlayer : UIView
@property (nonatomic, copy)void(^bigBlock)();
@property (nonatomic, copy)void(^smallBlock)();
@property (nonatomic, copy)void(^backBlock)();
@property (nonatomic, copy)void(^timeBlock)(CGFloat time);
@property (nonatomic, copy)NSString *url;
@property (nonatomic, strong)UIPanGestureRecognizer *pan;
@property (nonatomic, strong)UITapGestureRecognizer *tap;
@property (nonatomic, strong) WD_MyAVPlayer *player;
@property (nonatomic, strong)WD_MyPlayerMaskView *maskView;
- (instancetype)initWithMyPlayFrame:(CGRect)frame;
@end
